/**
 * fulihui.com Inc.
 * Copyright (c) 2015-2016 All Rights Reserved.
 */
package com.fulihui.information.api;

import org.near.servicesupport.result.BaseResult;
import org.near.servicesupport.result.TPageResult;
import org.near.servicesupport.result.TSingleResult;

import com.fulihui.information.dto.InfoGoodFeedbackRecordDTO;
import com.fulihui.information.request.*;

/**
 * 有益反馈  服务接口
 * @author zhangyingjie
 * @version $Id: v 0.1 2017年05月15日 14:27 zhangyingjie Exp $
 */
public interface GoodFeedbackService {
    /**
     * 新增  有益反馈
     * @param request
     * @return
     */
    BaseResult create(GoodFeedbackCreateRequest request);

    /**
     * 根据id查询详情
     * @param request
     * @return
     */
    TSingleResult<InfoGoodFeedbackRecordDTO> querySingle(GoodFeedbackDetailRequest request);

    /**
     * 修改
     * @param request
     * @return
     */
    BaseResult update(GoodFeedbackUpdateRequest request);

    /**
     * 分页查询
     * @param request
     * @return
     */
    TPageResult<InfoGoodFeedbackRecordDTO> queryPage(GoodFeedbackQueryPageRequest request);

    /**
     * 批量审核
     * @param request
     * @return
     */
    BaseResult batchAudit(GoodFeedbackRecordBatchAuditRequest request);
}
